<add>
	<doc>
		<#list fields as field>
			<field name="${field.name}">${field.value}</field>
		</#list>
	</doc>
</add>